Welcome to Docma!

This document is being rendered to {{ docma.format }}.

Template info

{% if docma.format == 'HTML' %} {% endif %}
Description {{ docma.template.description }}
Owner {{ docma.template.owner }}
Template version {{ docma.template.version }}
Docma version {{ docma.version }}
Produced {{ docma.datetime.datetime.today().date() | date }}

This table uses Jinja rendering to dynamically inject data attributes from the document template (description, owner etc.).

Chart Sample

This is a sample of a dynamically generated chart. The source data in this example is a CSV file contained in the document template. We could have used a database query just as easily. The chart definition specifies the y-axis to be sorted in ascending order of woof-power.

Dynamic Data Sample

{% for row in docma.data('file', 'data/dogs.csv') | sort(attribute="Dog") %} {% endfor %}
Dog Woof
{{ row.Dog }} {{ row.Woof }}

This table was included by reference to a CSV file in the template. It is using the same base data file as the graph above. In this case, the table is being sorted by name of dog.

QR Code Sample

Link to docma on github

This QR code is a link to docma on GitHub.

Useful Links